package com.ruoyi.common.core.page;

import java.util.List;

public class WeChatTableDataInfo {
    private static final long serialVersionUID = 1L;

    /** 总记录数 */
    private long records;

    private int page;


    private long total;

    public long getRecords() {
        return records;
    }

    public void setRecords(long records) {
        this.records = records;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    /** 列表数据 */
    private List<?> rows;



    /**
     * 表格数据对象
     */
    public WeChatTableDataInfo()
    {
    }

    /**
     * 分页
     *
     * @param list 列表数据
     * @param total 总记录数
     */
    public WeChatTableDataInfo(List<?> list, int total)
    {
        this.rows = list;
        this.total = total;
    }

    public long getTotal()
    {
        return total;
    }

    public void setTotal(long total)
    {
        this.total = total;
    }

    public List<?> getRows()
    {
        return rows;
    }

    public void setRows(List<?> rows)
    {
        this.rows = rows;
    }


}
